export default {
  getModelFilter(collectionObject) {
    let modelFilter = ''
    if (this.type) {
      modelFilter = `type like '${this.type}%'`
    } else if (!this.isPointer && collectionObject.namedModelList && collectionObject.namedModelList.length) {
      modelFilter = `type not in ('${collectionObject.namedModelList.join("','")}')`
    }
    return modelFilter
  },
}
